jQuery(document).ready(function () {
    //页面初始化
    BaseChild.init();
});

var BaseChild = function () {
    // var htmlPageUrl = $("#Layout-HtmlPageUrl").val();
    // var moduleNo = $("#Layout-ModuleNo").val();
    // var systemNo = $("#Layout-SystemNo").val();

    //监听scroller尺寸变化
    var handleScroller = function () {
        ComApp.messageInfo('handleScroller');
        
        var portletBoby = $('.scroller').closest(".portlet-body");
        portletBoby.resize(function () {
            ComApp.messageInfo('resize');
        });

    };

    //初始化
    var handleInit = function () {
        App.initAjax();

    };


    return {
        init: function () {
            handleInit();
            handleScroller();
        }
    };
}();